package org.jeecg.modules.fk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import groovy.transform.Field;
import lombok.Data;
import org.jeecg.common.aspect.annotation.ThirdPartyEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 电局授权-企业表
 * @TableName dj_org
 */
@Data
public class DjOrg implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String orgId;

    /**
     * 纳税人识别号
     */
    private String nsrsbh;

    /**
     * 网点名
     */
    @Excel(name = "所属分支行", width = 20)
    private String saleNetName;

    /**
     * 纳税人名称
     */
    @Excel(name = "企业名称", width = 20)
    private String nsrmc;

    /**
     * 社会信用代码
     */
    @Excel(name = "社会信用代码", width = 15)
    private String shxydm;

    /**
     * 登记序号
     */
    private String djxh;

    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date updateTime;

    /**
     * 是否删除(1:删除;0:未删除)
     */
    private Boolean isDelete;

    /**
     * 网点编号
     */
    private String saleNetCode;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Excel(name = "授权日期", width = 15, format = "yyyy-MM-dd")
    private Date createTime;

    /**
     * 授权状态(1:已授权, 2:未授权)
     */
    @Excel(name = "授权状态", width = 15)
    private Integer isAuth;

    /**
     * 授权人名称
     */
    @Excel(name = "授权人", width = 15)
    private String autherName;

    /**
     * 授权人手机号
     */
    @Excel(name = "授权人手机号", width = 15)
    private String autherMobile;

    /**
     * 客户经理ID
     */
    @ThirdPartyEntity(ignore = true)
    private String manageUserId;

    /**
     * 客户经理名称
     */
    @ThirdPartyEntity(ignore = true)
    @Excel(name = "管户权客户经理", width = 15)
    private String manageUserName;

    /**
     * 客户经理手机号
     */
    @TableField(exist = false)
    @Excel(name = "客户经理联系方式", width = 15)
    private String manageUserPhone;

    /**
     * 客户编号
     */
    @ThirdPartyEntity(ignore = true)
    private String customerCode;

    /**
     * 实名用户
     */
    @ThirdPartyEntity(ignore = true)
    private String realYhm;

    /**
     * 密码
     */
    @ThirdPartyEntity(ignore = true)
    private String  password;

    @TableField(exist = false)
    private String keyWord;

    /**
     * 行业
     */
    private String industry;

    /**
     * 企业类型
     */
    private String orgType;

    /**
     * 关联建行机构id
     */
    private String jigouId;

    /**
     * 关联建行用户ID
     */
    private String uassUserId;

    /**
     * 所属城市编码
     */
    private String cityCode;



    private static final long serialVersionUID = 1L;
}
